package com.yt.base.service;

import java.util.List;
import java.util.Map;

import com.yt.base.model.AclUser;
import com.yt.core.service.GenericService;

/**
 * Created by liujunshi on 15-1-28.
 */
public interface AclUserService extends GenericService<AclUser, Long> {
	
	AclUser findByName(String name);
	
	List<AclUser> searchByName(String name);
	
	int countByGroup(Long groupId);

	/**
	 * 根据id批量获取用户的信息
	 * @param uids
	 * @return
	 */
	public Map<Long, AclUser> getUsersMap(String uids);
}
